home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shells / tcshsrc.zoo / tcsh / config / config.hpux < prev    next >
Encoding:
Text File  |  1991-08-06  |  2.9 KB  |  115 lines

  1. /*
  2.  * config.h -- configure various defines for tcsh
  3.  *
  4.  * All source files should #include this FIRST.
  5.  *
  6.  * Edit this to match your system type.
  7.  */
  8.  
  9. /****************** System dependant compilation flags ****************/
  10. /*
  11.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  12.  */
  13. #ifdef __hpux
  14. # define POSIX
  15. #else
  16. # undef POSIX
  17. #endif
  18.  
  19. /*
  20.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  21.  *        job control facilities.
  22.  */
  23. #ifdef __hpux
  24. # define POSIXJOBS
  25. #else
  26. # undef POSIXJOBS
  27. #endif
  28.  
  29. /*
  30.  * VFORK    This machine has a vfork().  
  31.  *        It used to be that for job control to work, this define
  32.  *        was mandatory. This is not the case any more.
  33.  *        If you think you still need it, but you don't have vfork, 
  34.  *        define this anyway and then do #define vfork fork.  
  35.  *        I do this anyway on a Sun because of yellow pages brain damage,
  36.  *        [should not be needed under 4.1]
  37.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  38.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  39.  *        Note that some machines eg. rs6000 have a vfork, but not
  40.  *        with the berkeley semantics, so we cannot use it there either.
  41.  */
  42. #undef VFORK
  43.  
  44. /*
  45.  * BSDJOBS    You have BSD-style job control (both process groups and
  46.  *        a tty that deals correctly
  47.  */
  48. #define BSDJOBS
  49.  
  50. /*
  51.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  52.  *        Note: POSIX systems should not define this unless they
  53.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  54.  */
  55. #define BSDSIGS
  56.  
  57. /*
  58.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  59.  *        This may or may not be true.  For example, Apple Unix
  60.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  61.  */
  62. #undef BSDTIMES
  63.  
  64. /*
  65.  * BSDNICE    Your system uses setpriority() instead of nice, to
  66.  *        change a processes scheduling priority
  67.  */
  68. #undef BSDNICE
  69.  
  70. /*
  71.  * TERMIO    You have struct termio instead of struct sgttyb.
  72.  *         This is usually the case for SVID systems, where
  73.  *        BSD uses sgttyb. POSIX systems should define this
  74.  *        anyway, even though they use struct termios.
  75.  */
  76. #define TERMIO
  77.  
  78. /*
  79.  * SVID        Your machine is SVID complient (Sys V, HPUX, A/UX)
  80.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  81.  *        built in a BSD universe.
  82.  *        Set SVID to 1, 2, or 3, depending the version of System V
  83.  *        you are running. Or set it to 0 if you are not SVID based
  84.  */
  85. #define SVID    3
  86.  
  87. /*
  88.  * SIGVOID    Define this if your signal handlers return void.  On older
  89.  *        systems, signal returns int, but on newer ones, it returns void.
  90.  */
  91. #define SIGVOID 
  92.  
  93. /*
  94.  * HAVEDUP2    Define this if your system supports dup2().
  95.  */
  96. #undef HAVEDUP2
  97.  
  98. /*
  99.  * UTHOST    Does the utmp file have a host field?
  100.  */
  101. #ifdef __hpux
  102. # define UTHOST
  103. #else
  104. # undef UTHOST
  105. #endif /* __hpux */
  106.  
  107. /*
  108.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  109.  */
  110. #define DIRENT
  111. /****************** local defines *********************/
  112. /****************** configurable hacks ****************/
  113. /* have been moved to config_f.h */
  114. #include "config_f.h"
  115.